<script language="Javascript">
<!--
function isNumberKey(evt)
{
var charCode = (evt.which) ? evt.which : event.keyCode
if (charCode > 31 && (charCode < 48 || charCode > 57))
return false;
return true;
}
//-->
</script>
<?php

?>


<fieldset>
 <legend>Form Input Kode Barcode</legend>
  <form action="<?php echo base_url(); ?>kst_barcode/output" method="post">
 <table>
   <tr><td><b>Jumlah Input</b></td><td><input type="text" name="a" maxlength="3" onkeypress="return isNumberKey(event)"></td></tr>
   <tr><td><b>Masukkan Kode</b></td><td><input type="text" name="bar"></td></tr>
   <tr><td><b>Unit</b></td><td><select name="unit">
   <option value="RES">RES</option>
   <option value="KST">KST</option>
   <option value="BAK">BAK</option>
   </td></tr>
   <tr><td></td><td><input type="submit" value="Buat Barcode"></td></tr>
 </table>
  </form>
</fieldset>
